//
//  LiveRoomViewController.h
//  OpenLive
//
//  Created by GongYuhua on 2016/9/12.
//  Copyright © 2016年 Agora. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AgoraRtcEngineKit/AgoraRtcEngineKit.h>
#import "MallInLiveViewController.h"

//原IM部分
#import "TCPushDecorateView.h"

@class LiveRoomViewController;
@protocol LiveRoomVCDelegate <NSObject>
- (void)liveVCNeedClose:(LiveRoomViewController *)liveVC;
@end

@interface LiveRoomViewController : UIViewController
@property (copy, nonatomic) NSString *channelId;
@property (assign, nonatomic) AgoraClientRole clientRole;
@property (assign, nonatomic) AgoraVideoProfile videoProfile;
@property (weak, nonatomic) id<LiveRoomVCDelegate> delegate;
@property (strong, nonatomic) MallInLiveViewController *mall;
@property (assign, nonatomic) NSInteger isEnterSelf;			//是否点击进入了自己的直播间

//原IM部分
@property NSString*         rtmpUrl;
@property TXLivePushConfig* txLivePushonfig;
@property TXLivePush*       txLivePublisher;
@property TCPushDecorateView *logicView;
@property BOOL              log_switch;
@property (strong, nonatomic) TCLiveInfo *liveInfo;

- (void)loadAgoraKit;

@end
